// 定义数组接口
// 评论信息
export interface comment {
    avatar: string;
    rateTime: number;
    rateType: number;
    text: string;
    username: string;
}
// 商品详情
export interface detailed {
    category: string;
    ctime: string;
    goodsDesc: string;
    id: number;
    imgUrl: string;
    name: string;
    price: number;
    rating: number;
    ratings: Array<comment>;
    sellCount: number;
}
export interface listData {
    foods: Array<detailed>;
    name: string;
}
